package com.pf.service;

import com.pf.dto.User;

import java.util.List;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2022/12/26 20:41
 */
public interface CacheService {

    List<User> getAllUser();

    User getUserById(Integer userId);

    User addUser(User user);

    User updateById(User user);

    void deleteById(Integer userId);
}
